package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: fanliFlow 
* @Description: 返利-入口流量表定义表
* @author eason
* @date 2017-02-13 14:40:30
*
 */
@Entity
@Table(name = "tb_xa_fanliflow")
@ApiModel(value="返利-入口流量表定义表")
public class FanliFlow extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="商家编号,商家编号，外键，关联商家表 ")
	private Long busId;
	@ApiModelProperty(value="跳转用户id,跳转用户id")
	private Long userId;
	@ApiModelProperty(value="跳转exukey,跳转exukey，ukey:是每次跳转到用户网站之前进行生成的一个随机字符")
	private String exukey;
		
	
	public void setBusId(Long busId){
		this.busId=busId;
	}
	
	@Column(nullable=true,length=20)
	public Long getBusId(){
		return busId;
	}
	public void setUserId(Long userId){
		this.userId=userId;
	}
	
	@Column(nullable=true,length=20)
	public Long getUserId(){
		return userId;
	}
	public void setExukey(String exukey){
		this.exukey=exukey;
	}
	
	@Column(nullable=true,length=6000)
	public String getExukey(){
		return exukey;
	}
		
	@Override
    public String toString() {
        return "FanliFlow [busId=" + busId + ", userId=" + userId + ", exukey=" + exukey + "]";
    }
}
